    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background: hsl(0, 0%, 100%);
    }

    nav {
      position: sticky;
      top: 10px;
      z-index: 1000;
      max-width: 1520px;
      margin: 30px auto;
      padding: 1.2rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #ffffff;
      border-radius: 50px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
      border: 1px solid #a1a1a1;
    }

    .logo {
      font-size: 1.7rem;
      font-weight: bold;
      color: #2c3e50;
    }

    .nav-center {
      display: flex;
      gap: 2rem;
    }

    .nav-center a {
      position: relative;
      text-decoration: none;
      color: #2c3e50;
      font-weight: 500;
      font-size: 15px;
      padding: 6px 0;
      transition: color 0.3s ease;
    }

    .nav-center a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0%;
      height: 2px;
      background-color: #4a74ff;
      transition: width 0.3s ease;
    }

    .nav-center a:hover::after {
      width: 100%;
    }

    /* ✅ Right Side Rounded Button */
    .nav-right a {
      text-decoration: none;
      background: #4a74ff;
      color: #fff;
      padding: 10px 22px;
      border-radius: 50px;
      font-weight: 500;
      font-size: 15px;
      box-shadow: 0 4px 12px rgba(74, 116, 255, 0.3);
      transition: all 0.3s ease;
    }

    .nav-right a:hover {
      background: #355de0;
      transform: translateY(-1px);
    }
        /* ─── Search Bar ───────────────────────────── */
    .search-box{
        position:relative;
        display:flex;
        align-items:center;
    }
    .search-box input{
      width:200px;
      max-width:60vw;
      padding:9px 40px 9px 16px;
      border:1px solid #bfc9ff;
      border-radius:50px;
      font-size:14px;
      transition:all .3s ease;
    }
    .search-box input::placeholder{
        color:#9aa2d4;
    }
    .search-box input:focus{
      outline:none;border-color:#4a74ff;
      box-shadow:0 0 0 3px rgba(74,116,255,.25);
    }
    /* search icon */
    .search-box::after{
      content:'🔍'; /* simple emoji icon */
      position:absolute;right:14px;pointer-events:none;
      font-size:16px;color:#6d7be9;
    }


    @media (max-width: 768px) {
      nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 25px;
      }

      .nav-center {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
      }

      .nav-right a {
        width: 100%;
        text-align: center;
      }
     .search-box input{width:100%;}

    }

    .box-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
      gap: 30px;
      max-width: 1100px;
      margin: auto;
    }

    .card1, .card2, .card3 {
      background: #fff;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.07);
      background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #89f7fe, #66a6ff);
      background-origin: border-box;
      background-clip: padding-box, border-box;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
      cursor: pointer;
      animation: slideUp 0.8s ease forwards;
    }
    

    .card1:hover,
    .card2:hover,
    .card3:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 20px rgba(0,0,0,0.12);
    }

    .card1:hover h3,
    .card2:hover h3,
    .card3:hover h3 {
      color: #ffffff;
      text-decoration: underline;
    }
    .card1 {
  background: linear-gradient(135deg, #727272, #9d9d9d);
}
.card2 {
  background: linear-gradient(135deg, #f97316, #fb923c);
}
.card3 {
  background: linear-gradient(135deg, #0b89c3, #1498d6);
}


    .card1 a{
      text-decoration: none;
    }
        .card2 a{
      text-decoration: none;
    }
    .card3 a{
      text-decoration: none;
    }


    h3 {
      font-size: 18px;
      margin-bottom: 15px;
      color: #333;
      transition: color 0.3s ease;
    }

    a {
      text-decoration: none;
    }

    .img-wrap {
      max-width: 100%;
    }

    .img-wrap img {
      max-width: 100%;
      height: auto;
      transition: transform 0.3s ease;
    }

    .img-wrap img:hover {
      transform: scale(1.08);
    }

    /* Animation Keyframes */
    @keyframes slideUp {
      0% {
        opacity: 0;
        transform: translateY(30px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive */
    @media (max-width: 768px) {
      nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
      }

      .nav-center {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .search-box {
        width: 100%;
      }

      .search-box input {
        width: 100%;
      }
    }
